package spotGUI.firstRunGUI;

import java.awt.BorderLayout;
import java.awt.Color;

import javax.swing.JPanel;
import javax.swing.JTextArea;
import javax.swing.border.EmptyBorder;
import java.util.ResourceBundle;

public class EthicsPanel extends JPanel {
	private JTextArea txtrPerIGenitori;

	/**
	 * Create the panel.
	 */
	public EthicsPanel() {
		setLayout(new BorderLayout(0, 0));
		
		txtrPerIGenitori = new JTextArea();
		txtrPerIGenitori.setBorder(new EmptyBorder(15, 15, 15, 15));
		txtrPerIGenitori.setOpaque(false);
		txtrPerIGenitori.setBackground(new Color(0,0,0,0));
		txtrPerIGenitori.setWrapStyleWord(true);
		txtrPerIGenitori.setEditable(false);
		txtrPerIGenitori.setLineWrap(true);
		txtrPerIGenitori.setText(ResourceBundle.getBundle("spotGUI.firstRunGUI.messages").getString("EthicsPanel.txtrPerIGenitori.text")); //$NON-NLS-1$ //$NON-NLS-2$
		add(txtrPerIGenitori, BorderLayout.CENTER);

	}

}
